//
//  SearchData.h
//  扫码
//
//  Created by 鲍志刚 on 16/4/11.
//  Copyright © 2016年 鲍志刚. All rights reserved.
//

#import <Foundation/Foundation.h>

/*
 {
 code = true;
 data =     (
 {
 city = shahe;
 createTime = "2016-04-13 11:43:42";
 id = 92;
 number = 1213;
 random = 252729;
 type = 2;
 },
 {
 city = shahe;
 createTime = "2016-04-12 14:11:21";
 id = 91;
 number = 1290;
 random = 683574;
 type = 2;
 }
 );
 sum = 6022497;
 totalInfo = 90;
 totalpage = 9;
 }
 */

@class UserData;

@interface SearchData : NSObject

@property (nonatomic, copy) NSString *code;

@property (nonatomic, copy) NSString *sum;

@property (nonatomic, copy) NSString *totalInfo;

@property (nonatomic, copy) NSString *totalpage;

@property (nonatomic, strong) NSArray *data;

- (instancetype)initWithDict:(NSDictionary *)dict;

+ (instancetype)searchDataWithDict:(NSDictionary *)dict;

@end
